<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div class="modal fade addModel">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">系统添加</h4>
      </div>
      <div class="modal-body">
        <form role="form" class="form-horizontal">
            <div class="form-group">
				<label class="col-md-2 control-label">系统标示</label>
				<div class="col-md-8">
					<div class="input-group">							
						<span class="input-group-addon">
							<i class="fa fa-asterisk"></i>
						</span>
						<input type="text" id="MT_appCode" class="form-control1 blur-null">
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-2 control-label">系统授权码</label>
				<div class="col-md-8">
					<div class="input-group">
						<span class="input-group-addon">
							<i class="fa fa-asterisk"></i>
						</span>
						<input type="text" id="MT_appIDC" class="form-control1 blur-null">
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-2 control-label">IP地址</label>
				<div class="col-md-8">
					<div class="input-group">							
						<span class="input-group-addon">
							<i class="fa fa-asterisk"></i>
						</span>
						<input type="text" id="MT_ip" class="form-control1 blur-null">
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-2 control-label">端口号</label>
				<div class="col-md-8">
					<div class="input-group">
						<span class="input-group-addon">
							<i class="fa fa-asterisk"></i>
						</span>
						<input type="text" id="MT_port" class="form-control1 blur-null">
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-2 control-label">通讯方式</label>
				<div class="col-md-4">
					<div class="input-group">
						<div class="input-group-addon"><input name="comm" id="MT_comm_http" type="radio" checked></div>
						<p class="form-control1 m-n">HTTP</p>						
					</div>
				</div>
				<div class="col-md-4">
					<div class="input-group">
						<div class="input-group-addon"><input name="comm" id="MT_comm_https" type="radio"></div>
						<p class="form-control1 m-n">HTTPS</p>						
					</div>
				</div>
			</div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" id="addMonitor" >确定</button>
      </div>
    </div>
  </div>
</div>
<script>
	regNullBlur();
	regMonitorAdd();
</script>